package org.alex.samples.service;

import java.io.InputStream;
import java.util.List;

import org.alex.samples.model.User;
import org.alex.samples.vo.UserVO;

public interface IUserService {
	public List<UserVO> findAllUsers()throws Exception;
	
	public User getUserById(int id)throws Exception;
	
	public void editUser(User user)throws Exception;
	
	public void createUser(User user)throws Exception;
	
	public void deleleUser(int id) throws Exception	;
	
	public void saveStudentByExcel(InputStream is,String postfix) throws Exception;

	public User getUserByName(String name)throws Exception;
}
